import bean.User;
import dao.MessageDao;
import dao.UserDao;

import java.sql.SQLException;

public class testMessage {

    public static void main(String[] args) {
//        User user =  new User("11111111","韬","/web/o.img","95853@qq.com","lyt");
//        UserDao userDao  = new UserDao();
//        MessageDao messageDao = new MessageDao();
//        try {
//            userDao.insert(user);
//        } catch (SQLException throwables) {
//            throwables.printStackTrace();
//        }
//        System.out.println(userDao.toJsonObject(userDao.findUser("1")));
//        System.out.println();
    }

}
